class Counter:
    def __init__(self):
        self._current = 0

    def increment(self):
        self._current += 1

    def value(self):
        return self._current
    
    def reset(self):
        self._current = 0

ac = Counter()